<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta name="keywords" content="<?php echo ML_META_KEY_PUBLIC?>" />
<meta name="description" content="<?php echo ML_META_DES_PUBLIC?>" />
<?php include(ML_TPL_ROOTPATH.'_tpl_header_meta.php'); ?>
<link rel="stylesheet" href="<?php echo ML_RIA_CSS.ml_tool_getdata::riaVersion('conf/recommended_friend.css'); ?>" />
<title><?php echo $page_title?></title>
</head>

<body>
<?php include(ML_TPL_ROOTPATH.'_tpl_top.php'); ?>
    <div class="warp clearfix">
        <div class="main_left">
            <!--TAB-->
            
            <ul class="share_tab_release clearfix">
              <li class="ml_texta"><a href="<?php echo ml_tool_urlMaker::followList($data['uid']);?>">我关注的人(<?php echo $data['AttenttionCount'];?>)</a></li>
              <li class="line">|</li>
              <li class="ml_texta"><a href="<?php echo ml_tool_urlMaker::fansList($data['uid']);?>">我的粉丝(<?php echo $data['FollowCount'];?>)</a></li>
              <li class="line">|</li>
              <li class="ml_texta cur"><a href="" class="cur">找朋友</a></li>

            </ul>
            <!--/TAB-->
            <?php if (empty($data['3rdfollow'])) {?>
              <div class="find_friend">
                <p class="no_friend ml_texta">您尚未绑定微博账号，想知道微博上那些好友都入住美啦了么，现在授权，找到微博上的老友们吧
        </p>
                <div class="binding">
                    <a href="<?php echo SITE_ROOT_URL."/page/auth.php?type=sina" ?>" class="bingding ml_btn_a"><span>绑定</span></a>
                </div>
            </div>
            <?php } else {?>
            
            <?php if (empty($data['3rdfollow']['nofriend'])) {?>
            <!--找朋友-->
            <div class="find_friend">
                <p class="have_friend ml_texta">您共有<?php echo $data['3rdfollow']['total_number']?>位新浪微博的好友入驻美啦！</p>
                <ul class="clearfix friend ml_texta">
                    
                    <?php foreach ($data['3rdfollow']['friend'] as $key => $value) {?>
                    <li>
                        <div class="friend_photo"><a href="<?php echo ml_tool_urlMaker::person_index($value['uid']) ?>" target="_blank"><img src="<?php echo $value['head_url'];?>" alt="" /></a></div>

                        <p class="friend_name"><a href="<?php echo ml_tool_urlMaker::person_index($value['uid'])?>" target="_blank"><?php echo $value['nickname'];?></a></p>
                        <p>微博好友</p>
                        
                        <p class="add_friend" <?php if ($value['isfollowed'] == true) {?>style="display:none" <?php }?>>
                        <a uid=<?php echo $value['uid'];?> href="javascript:;" onclick="return false;"><img src="<?php echo ML_RIA_IMG.ml_tool_getdata::riaVersion('common/transparent.gif'); ?>" alt="" />加关注</a>
                        </p>
                       
                        <p class="cancel_attention" <?php if ($value['isfollowed'] == false) {?> style="display:none"<?php }?>>
                                                          已关注<span>|</span><a uid=<?php echo $value['uid'];?> href="javascript:;" onclick="return false;">取消</a>
                        </p>
                    </li>
                   <?php }?>
                </ul>
                <a href="javascript:;" onclick="return false;" class="attention_all ml_btn_i"><span>全部关注</span></a>

                <div class="ml_pages ml_pages_comment">
                   <!--
                    <span class="pageNum">
                        <span class="ml_pagebtn pre nopre">上一页</span><span>1</span><span>2</span><span>6</span><span class="cur">7</span><span class="nobg">...</span><span>48</span><span class="next" href="">下一页</span>
                    </span>
                    -->
                </div>

            </div>
             <?php }else {?>
             <div class="find_friend">
                <p class="have_friend ml_texta">逛街神马的，叫上闺蜜才有意思，快快邀请好友加入，一起开始开始在美啦的时尚之旅吧！ </p>

            </div>
             <?php }?>
            <!--/找朋友-->

            <!--邀请好友-->
            <div class="invite_friend">
                <p class="other_friend ml_texta">其他未加入的好友</p>
                <textarea name="" id="inviteTextarea" cols="30" rows="10" class="ml_textb">【闺蜜征集令】刚刚在美啦看上几个不错的单品和搭配，还有精彩的画报，那些号称我的闺蜜们，赶紧自觉地，过来开会啦>><?php echo SITE_ROOT_URL.ml_tool_urlMaker::my_fav_page($uid);?>
                </textarea>
                <div class="invite"><a id="inviteBTN" href="javascript:;" onclick="return false;" class="ml_btn_a" suda-uatrack="key=meila_click&value=invite_friend"><span>邀请</span></a></div>
                <div class="invite_publisher success ml_textd" style="display:none">发表成功</div>
                <div class="invite_publisher failure ml_textc" style="display:none">发表失败</div>
                <div class="invite_publisher words ml_textc" style="display:none"></div>
            
            </div>
            
            <!--/邀请好友-->

<?php }?>
          

        </div>
        <div class="main_right">
         <!--用户信息模块-->
        <?php include(ML_TPL_ROOTPATH.'module/tpl_mod_userinfo.php'); ?>
        <!--/用户信息模块-->
        </div>
    </div>

</body>
</div>
<?php include(ML_TPL_ROOTPATH.'_tpl_sina_foot.php'); ?>
</body>
<?php include(ML_TPL_ROOTPATH.'_tpl_footer_js.php'); ?>
</html>
</html>

